
const usingComponents = {
    "van-action-sheet": "/static/vant/action-sheet/index",
    "van-area": "/static/vant/area/index",
    "van-badge": "/static/vant/badge/index",
    "van-badge-group": "/static/vant/badge-group/index",
    "van-button": "/static/vant/button/index",
    "van-card": "/static/vant/card/index",
    "van-cell": "/static/vant/cell/index",
    "van-cell-group": "/static/vant/cell-group/index",
    "van-checkbox": "/static/vant/checkbox/index",
    "van-checkbox-group": "/static/vant/checkbox-group/index",
    "van-col": "/static/vant/col/index",
    "van-collapse": "/static/vant/collapse/index",
    "van-collapse-item": "/static/vant/collapse-item/index",
    "van-datetime-picker": "/static/vant/datetime-picker/index",
    "van-dialog": "/static/vant/dialog/index",
    "van-field": "/static/vant/field/index",
    "van-goods-action": "/static/vant/goods-action/index",
    "van-goods-action-button": "/static/vant/goods-action-button/index",
    "van-goods-action-icon": "/static/vant/goods-action-icon/index",
    "van-icon": "/static/vant/icon/index",
    "van-info": "/static/vant/info/index",
    "van-loading": "/static/vant/loading/index",
    "van-nav-bar": "/static/vant/nav-bar/index",
    "van-notice-bar": "/static/vant/notice-bar/index",
    "van-notify": "/static/vant/notify/index",
    "van-overlay": "/static/vant/overlay/index",
    "van-panel": "/static/vant/panel/index",
    "van-picker": "/static/vant/picker/index",
    "van-picker-column": "/static/vant/picker-column/index",
    "van-popup": "/static/vant/popup/index",
    "van-progress": "/static/vant/progress/index",
    "van-radio": "/static/vant/radio/index",
    "van-radio-group": "/static/vant/radio-group/index",
    "van-rate": "/static/vant/rate/index",
    "van-row": "/static/vant/row/index",
    "van-search": "/static/vant/search/index",
    "van-slider": "/static/vant/slider/index",
    "van-stepper": "/static/vant/stepper/index",
    "van-steps": "/static/vant/steps/index",
    "van-submit-bar": "/static/vant/submit-bar/index",
    "van-swipe-cell": "/static/vant/swipe-cell/index",
    "van-switch": "/static/vant/switch/index",
    "van-switch-cell": "/static/vant/switch-cell/index",
    "van-tab": "/static/vant/tab/index",
    "van-tabbar": "/static/vant/tabbar/index",
    "van-tabbar-item": "/static/vant/tabbar-item/index",
    "van-tabs": "/static/vant/tabs/index",
    "van-tag": "/static/vant/tag/index",
    "van-toast": "/static/vant/toast/index",
    "van-transition": "/static/vant/transition/index",
    "van-tree-select": "/static/vant/tree-select/index",
}
module.exports = [
    {
        path: "pages/login/index",
        name: "login",
        config: {
            navigationBarTitleText: "研训通",
            usingComponents,
        }
    },
    {
        path: "pages/projecReport/projecReport",
        name: "projectReport",
        config: {
            navigationBarTitleText: "项目报告",
            usingComponents,
        },
    },
    {
        path: "pages/projecReport/attendance",
        name: "attendance",
        config: {
            navigationBarTitleText: "出勤率",
            usingComponents,
        },
    },
    {
        path: "pages/index/index",
        name: "home",
        config: {
            navigationBarTitleText: "首页",
            enablePullDownRefresh: true,
            usingComponents: {
                "van-toast": "/static/vant/toast/index",
                "van-dialog": "/static/vant/dialog/index"
            }
        }
    },
    {
        path: "pages/new/courseInfo",
        name: "courseInfo",
        config: {
            navigationBarTitleText: "课程详情",
            usingComponents,
        },
    },
    {
        path: "pages/register/index",
        name: "register",
        config: {
            navigationBarTitleText: "注册",
            usingComponents,
        }
    },
    {
        path: "pages/forget/index",
        name: "forget",
        config: {
            navigationBarTitleText: "忘记密码",
            usingComponents
        }
    },
    {
        path: "pages/projectSummarize/projectSummarize",
        name: "projectSummarize",
        config: {
            navigationBarTitleText: "项目总结",
            usingComponents,
        },
    },
    {
        path: "pages/myProject/index",
        name: "myProject",
        config: {
            navigationBarTitleText: "我的项目",
            enablePullDownRefresh: true,
            onReachBottomDistance: 50,
            usingComponents,
        },
    },

    {
        path: "pages/project/projectDetail",
        name: "projectDetail",
        config: {
            navigationBarTitleText: "项目详情",
            enablePullDownRefresh: true,
            usingComponents:{
                "van-toast": "/static/vant/toast/index",
                "van-dialog": "/static/vant/dialog/index"
            }
        }
    },
    {
        path: "pages/project/discuss",
        name: "discuss",
        config: {
            navigationBarTitleText: "课程讨论",
            enablePullDownRefresh: true,
            usingComponents:{
                "van-toast": "/static/vant/toast/index",
                "van-dialog": "/static/vant/dialog/index",
            }
        }
    },
    {
        path: "pages/project/projectManualDetail",
        name: "projectManualDetail",
        config: {
            navigationBarTitleText: "手册详情",
            usingComponents:{
                "van-toast": "/static/vant/toast/index",
            }
        }
    },
    {
        path: "pages/project/projectManual",
        name: "projectManual",
        config: {
            navigationBarTitleText: "手册",
            enablePullDownRefresh: true,
            usingComponents:{
                "van-toast": "/static/vant/toast/index",
            }
        }
    },
    {
        path: "pages/project/discussReply",
        name: "discussReply",
        config: {
            navigationBarTitleText: "回复",
            enablePullDownRefresh: true,
            usingComponents:{
                "van-toast": "/static/vant/toast/index",
                "van-dialog": "/static/vant/dialog/index",
            }
        }
    },

    {
        path: "pages/new/pingjia",
        name: "学员评价",
        config: {
            navigationBarTitleText: "评价",
            usingComponents,
        },
    },
    {
        path: "pages/new/zongping",
        name: "学员总评",
        config: {
            navigationBarTitleText: "总评",
            usingComponents,
        },
    },
    {
        path: "pages/my/index",
        name: "my",
        config: {
            navigationBarTitleText: "我的资料",
            usingComponents,
        }
    },

    {
        path: "pages/my/changePassword",
        name: "my/changePassword",
        config: {
            navigationBarTitleText: "修改密码",
            usingComponents,
        },
    },
    {
        path: "pages/my/personData",
        name: "my/personData",
        config: {
            navigationBarTitleText: "个人资料",
            usingComponents,
        },
    },

    {
        path: "pages/my/changePhone3",
        name: "my/changePhone3",
        config: {
            navigationBarTitleText: "修改手机号",
            usingComponents,
        },
    },
    {
        path: "pages/my/changePhone2",
        name: "my/changePhone2",
        config: {
            navigationBarTitleText: "修改手机号",
            usingComponents,
        },
    },

    {
        path: "pages/my/aboutUs",
        name: "my/aboutUs",
        config: {
            navigationBarTitleText: "关于我们",
            usingComponents,
        },
    },
]







